
<li class="ui-state-highlight lipadre"> 
        <a name="<?=$this->id?>"></a>
         <div class="ui-state-active cabecera_items">

            <span style="float:left;" > 
              <?=$this->necesita_respuesta_text;?>
    	    </span> 
            
            <span style="float:right"> 
                <?=$this->fecha;?> 
    	    </span>
            <span style="float:right;margin-right:30px"> 
                <?=$this->usuario;?> 
    	    </span>
            <br />
             <span style="float:left;font-size:0.9em" > 
               <?=$this->tiempo_respuesta_text;?>
    	    </span>
            
            
            
            <span style="float:right;"> 
            <?if($this->editor):?>
            <div class="botones_tareas botones">
              <?php echo $this->anchor('ofertas-post/editar/id_oferta/'.$this->id_oferta.'/id/'.$this->id,'Editar',array('class'=>'utileditar'));?>
              <?php echo $this->anchor('ofertas-post/borrar/id_oferta/'.$this->id_oferta.'/id/'.$this->id,'Borrar',array('class'=>'tareasdelete'));?>
            </div>
            <?endif?>
    	    </span>   
         </div>
          <div>  

           <p class="notas"><?=$this->text($this->notas);?></p> 
          </div> 
          &nbsp;
          

        <? print $this->showPhotos('ofertas',$this->id_oferta,$this->id);?>

<ul>
    <?foreach((array)$this->respuestas as $w):?>
    <a name="<?=$w['id']?>"></a>
    <li class="lihijo ui-state-highlight"> 
         <div class="ui-state-active cabecera_items">
            
            <span style="float:left;"> 
              <?=$w['leido'];?> <?=$w['fecha'];?>
   	        </span>
            <span style="float:left;margin-left: 60px;"> 
                <?=$w['usuario'];?>
    	    </span>
            
            

            <span style="float:right;margin-left: 60px;" > 
            <?if($w['editor']):?>
            <div class="botones_tareas botones">
              <?php echo $this->anchor('ofertas-post/editar/id_oferta/'.$this->id_oferta.'/id/'.$w['id'],'Editar',array('class'=>'utileditar'));?>
              <?php echo $this->anchor('ofertas-post/borrar/id_oferta/'.$this->id_oferta.'/id/'.$w['id'],'Borrar',array('class'=>'tareasdelete'));?>
            </div>
            <?endif?>
            </span>
            
            <span style="float:right"> 
                <?=$w['tiempo_empleado'];?> 
    	    </span>

            
            
         </div>
         
          <div>   
  
            <p class="notas"><?=$this->text($w['notas']);?></p> 
          </div> 

            <? print $this->showPhotos('ofertas',$this->id_oferta,$w['id']);?>
   

    </li>
    <?endforeach?>
    </ul>

 	  &nbsp;
		 
       <div class="noprint"> 
        <?php echo $this->anchor('ofertas-post/insertar/id_oferta/'.$this->id_oferta.'/respuesta_a/'.$this->id,'Responder',array('class'=>'utiladd'));?>
       </div>

    

 </li>
